﻿using System.Web.Profile;

namespace SpiderMaster.AspNet.TradingSystem
{
    /// <summary> Provides Data Class (ProfileGroup) for Action Panels On Trading Center
    /// </summary>
    public class ProfileGroupActionPanels : SpiderMasterProfileGroupBase, IActionPanels
    {
        public ProfileGroupActionPanels(ProfileGroupBase GroupBase) : base(GroupBase) { }

        public bool MessageCenterOpen
        {
            get { return bool.Parse(this.GetPropertyValue(ProfilePropertyKey.MessageCenterOpen).ToString()); }
            set { this.SetPropertyValue(ProfilePropertyKey.MessageCenterOpen, value); }
        }
    }
}